﻿using System;
using System.Collections.Specialized;
using System.Web;

namespace Sex
{
    public partial class Sex : System.Web.UI.Page
    {
        public class ListServerVariables : MyList
        {
            public ListServerVariables(State MyState)
                : base(MyState, "Server Variables")
            {
                HttpContext myHttpContext = HttpContext.Current;
                NameValueCollection coll;
                coll = myHttpContext.Request.ServerVariables;
                String[] arr1 = coll.AllKeys;

                for (int i = 0; i < coll.Keys.Count; i++)
                {
                    Add(FormatMyKey(coll.Keys[i]), coll[i]);
                }
            }
        }
    }
}